package com.kotasoft.training.roogwteclipselink.client.managed.request;

import org.springframework.roo.addon.gwt.RooGwtMirroredFrom;

import com.google.gwt.requestfactory.shared.InstanceRequest;
import com.google.gwt.requestfactory.shared.Request;
import com.google.gwt.requestfactory.shared.RequestContext;
import com.google.gwt.requestfactory.shared.Service;
import com.kotasoft.training.roogwteclipselink.shared.domain.Alumno;

@RooGwtMirroredFrom(Alumno.class)
@Service(Alumno.class)
public interface AlumnoRequest extends RequestContext {

    abstract Request<java.lang.Long> countAlumnoes();

    abstract Request<java.util.List<com.kotasoft.training.roogwteclipselink.client.managed.request.AlumnoProxy>> findAllAlumnoes();

    abstract Request<java.util.List<com.kotasoft.training.roogwteclipselink.client.managed.request.AlumnoProxy>> findAlumnoEntries(int firstResult, int maxResults);

    abstract Request<com.kotasoft.training.roogwteclipselink.client.managed.request.AlumnoProxy> findAlumno(Long id);

    abstract InstanceRequest<com.kotasoft.training.roogwteclipselink.client.managed.request.AlumnoProxy, java.lang.Void> remove();

    abstract InstanceRequest<com.kotasoft.training.roogwteclipselink.client.managed.request.AlumnoProxy, java.lang.Void> persist();
}
